//
//  MVDetailerModeL.m
//  NewMusic
//
//  Created by dllo on 15/11/24.
//  Copyright © 2015年 Going. All rights reserved.
//

#import "MVDetailerModeL.h"
#import "MVlist.h"
@implementation MVDetailerModeL
- (void)dealloc
{
    [_mvList release];
    [_tempId release];
    [super dealloc];
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}
- (void)setValue:(id)value forKey:(NSString *)key
{
    [super setValue:value forKey:key];
    if ([key isEqual:@"id"])
    {
        self.tempId = value;
    }
    if ([key isEqual:@"mvList"])
    {
        self.mvList = [NSMutableArray array];
        NSArray *arr = (NSArray *)value;
        for (NSDictionary *dic in arr)
        {
            MVlist *mvlist = [MVlist new];
            [mvlist setValuesForKeysWithDictionary:dic];
            [self.mvList addObject:mvlist];
            [mvlist release];
        }
    }
    
    
    
}
@end
